//
//  UserCenterViewController.h
//  wuxinlvtu
//
//  Created by Apple on 12-2-21.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseViewController.h"
#import "UISegmentedControl_Custom.h"
#import "SearchImageView.h"
#import "StatusCell.h"
#import "NetDataSource.h"
#import "EGORefreshTableHeaderView.h"
#import "TravelDetailViewController.h"

@interface UserCenterViewController : BaseViewController<UISegmentedControl_CustomDelegate,DataSourceDelegate,SearchImageViewProtocol,UITableViewDelegate,UITableViewDataSource,StatusCellProtocol>
{
    BOOL isSearchStatus;
    BOOL isMytravel;
    SearchImageView* searchImageView;
    
    UIBarButtonItem* refreshButtonItem;
    UIView* myfavorView;
    UIView* mytravelView;
    
    NSMutableArray* m_favorShowAry;
    NSMutableArray* m_travelShowAry;
    UITableView* m_tableView;
    UIView* footSpinnerView;
    
    UIAlertView* baseAlert;
    UILabel* nodataLabel;
    UILabel* nodataLabel1;
    
    BOOL isEdit;
    EGORefreshTableHeaderView *refreshHeaderView;
    BOOL _reloading;
    
    BOOL isRefresh;
    NSInteger myfavorPageNum;
    NSInteger mytravelPageNum;
    
    TravelDetailViewController * travelDetailViewController;
    
    NSInteger delIndex;
}

@property (assign, getter = isReloading) BOOL reloading;
@property (nonatomic, readonly) EGORefreshTableHeaderView *refreshHeaderView;

- (void)setSegmentedControlEventValue:(NSInteger) index;
- (void)reloadTableViewDataSource;
- (void)dataSourceDidFinishLoadingNewData:(NSNumber *)loadedData;
- (void)dataSourceDidFailPresentingError;
@end
